package rootPackage.controller.creazione.dbRicette;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import rootPackage.service.RicetteService;



public class IndexController extends Controller {

    private RicetteService service = new RicetteService();

    @Override
    public Navigation run() throws Exception {
        requestScope("ricettaList", service.getAll());
        return forward("/creazione/dbRicette/Index.jsp");
    }
}
